package com.elec.domain.entity;

import java.util.Date;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 记录所有用电异常报警(AlarmRecord)表实体类
 *
 * @author yu
 * @since 2024-07-05 13:42:59
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("alarm_record")
public class AlarmRecord {
    @TableId
    private Integer alarmId;

    //数据记录ID，关联用电数据表
    private Integer dataId;
    //报警类型
    private String alarmType;
    //报警详情
    private String description;
    //报警时间
    private Date timestamp;


}
